cmake_minimum_required(VERSION 2.6)
project(pro2)

find_package(OpenCV REQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS})

link_libraries(${OpenCV_INCLUDE_LIBS})

add_executable(pro2 main.cpp)

target_link_libraries(pro2 ${OpenCV_LIBS})

install(TARGETS pro2 RUNTIME DESTINATION bin)


